#include <stdio.h>
int main(void)
{
    char cb;
    printf("Type a character you want.\n");
    scanf("%c", &cb);/*输入你想的字符*/
    printf("The code for %c is %d", cb, cb);


    return 0;
}